<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class LayoutController extends Controller
{
    public static function getIndex()
    {
        //调用分类中的静态方法
        $cate = CateController::CateAll(0);
        // dd($cate);
        //解析模板
        return view('Home.header.header',['cate'=>$cate]);
    }
}
